package constant;

public class Constant {
    //定义 全部书籍信息 存储的文件
    public static final String All_BOOK_FILE_NAME = "allbooks.txt";

    //定义 已借阅书籍信息 存储的文件
    public static final String BORROWED_BOOOK_FILE_NAME = "borrowedbooks.txt";

    //定义 默认的 书架容量
    public static final int CAPACITY = 5;

    //定义 默认的 已借阅图书的数组容量
    public static final int BORROWED_BOOK_MAX_NUM = 5;

    //共用方法
    public static final int SEARCH_BOOK = 1;
    public static final int DISPLAY_BOOK = 2;
    public static final int EXIST = 3;
    //管理员相关操作管理
    public static final int ADD_BOOK = 4;
    public static final int UPDATE_BOOK = 5;
    public static final int REMOVE_BOOK = 6;
    public static final int BORROWED_BOOK_COUNT = 7;
    public static final int GENERATE_BOOK = 8;
    public static final int CHECK_INVENTORY_STATUS = 9;
    public static final int CHECK_AND_REMOVE_OLD_BOOK = 10;
    //普通用户相关操作管理
    public static final int BORROW_BOOK = 4;
    public static final int RETURN_BOOK = 5;
    public static final int VIEW_BORROW_BOOKS = 6;
}
